﻿@model gnet1.Models.ANetViewModel

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>
<!--
  https://test.authorize.net/gateway/transact.dll
  http://localhost:15071/Home/Sim
  -->

<form action="https://test.authorize.net/gateway/transact.dll" method="post">
  <!-- This stuff works -->
  @Html.Hidden("x_fp_hash" , Model.Hash)
  @Html.Hidden("x_fp_sequence",Model.Sequence)
  @Html.Hidden("x_fp_timestamp",Model.TimeStamp)
  @Html.Hidden("x_login",Model.Login)
  @Html.Hidden("x_amount",Model.Amount)
  @Html.Hidden("x_relay_url","http://www.gnazzo.net/Payment/Sim")
  @Html.Hidden("x_relay_response","TRUE")
  @Html.Hidden("x_card_num", "4111111111111111")
  @Html.Hidden("x_exp_date", "0116")
  @Html.Hidden("x_card_code", "123")
 
  @Html.Hidden("x_first_name","john")
  @Html.Hidden("x_last_name","gnazzo")
  @Html.Hidden("x_address","11291 E. Mexico Avenue")
  @Html.Hidden("x_city","Aurora")
  @Html.Hidden("x_state","CO")
  @Html.Hidden("x_zip","80012")
  @Html.Hidden("x_email", "jgnazzo@gmail.com")
  <!-- Customer Fields -->


  <!-- end this stuff works -->
  <!-- Revisit this  --->
  @Html.Hidden("x_type", "AUTH_ONLY")
  
  @Html.Hidden("x_bigone","1956")

  
  <input type = "submit" value = "Pay" />
</form>

    